{extends file="assets::smarty-templates::Master"|ToPath}
{block name=content}
{html_css file="whiteLabel/light/jquery.datatables.css"}


<h2>Lista de Practicantes</h2>

<fieldset>
    <table class="datatable">
        <thead>
            <tr>
                <th class="sorting_asc">Nombre del Practicante</th>
                <th>Opciones</th>
            </tr>
        </thead>

        <tbody>
            {foreach $practicantes as $practicante}
                {$url = "{$procesar}&idPracticante={$practicante->getIdPracticante()}"}
                <tr>
                    <td>{$practicante->getEstudiante()->getNombres()} {$practicante->getEstudiante()->getApellidos()}</td>
                    <td>
                        <a style="width: 122px" class="btn small icon i_folder_lock" href="{$url}">Finalizar Practica</a>
                    </td>
                </tr>
            {/foreach}       
        </tbody>
    </table>
</fieldset>

{/block}